﻿      <div class="logo">
          <div class="logo_1"><a href="@Url.Action("Index","Home")"><img src="/images/index_06.png" /></a></div>
          <div class="logo_2">
              <div class="link">
                  <div class="link_1"><img src="/images/index_09.png" /></div>
                  <div class="link_2">
            
                      @{
                          Html.RenderPartial("MenuLink",new Kaiser.Cubic.Models.Menu(){ Code="Home"});
                        }
                      <div class="link_2_b" style="display: none">
                          <div class="link_2_c"><input name="key" id="key" type="text" class="link_2_txt" /></div>
                          <div class="link_2_d"><a href="#" id="search" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image53','','/images/index_29_HOVER.png',1)"><img src="/images/index_29.png" name="Image53" width="28" height="22" border="0" id="Image53" /></a></div>
                      </div>
                  </div>
                  <div class="link_1"><img src="/images/index_24.png" /></div>
              </div>
              <div style="display: none" class="eng"><a href="#"><img src="/images/eng_07.png" /></a><a href="#"><img src="/images/eng_10.png" /></a></div>
          </div>
      </div>
<script type="text/javascript">
    $(document).ready(function() {

        $("#search").click(function () {
            var keyword = $("#key").val();
            if (keyword != undefined && keyword != '') {
                location.href = '@Url.Action("Search","Product")?keyword=' + encodeURIComponent(keyword);
            } else {
                alert('请输入关键字');
            }
           
        });
    });
</script>